package com.zhihuishu.micro.course.openapi.course.dto;

import java.util.Date;

/**
 * 文件对象
 * @author	jiangli
 */
public class CCDataDto extends BaseDto{

	private static final long serialVersionUID = 1L;

    private Integer id;// 主键
    private String name;// 资料名称
    private String url;// 地址
    private Long size;// 长度
    private String suffix;// 后缀
    private String dataType;// 资料类型(1文档2图片3视频)
    private Long folderId;//文件夹id
    private Integer interfaceDataId;// 数据ID（远程接口获取）、
    private Date createTime;// 创建时间
    private String thumbnailUrl;// 缩略图
    private String videoSize;//视频时长(秒)
    private Integer privilege;//查看权限 0 所有人都可看 1 仅老师可看 默认为0;

    @Override
    public String toString() {
        return "CCDataDto{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", size=" + size +
                ", suffix='" + suffix + '\'' +
                ", dataType='" + dataType + '\'' +
                ", folderId=" + folderId +
                ", interfaceDataId=" + interfaceDataId +
                ", createTime=" + createTime +
                ", thumbnailUrl='" + thumbnailUrl + '\'' +
                ", videoSize='" + videoSize + '\'' +
                ", privilege=" + privilege +
                "} " + super.toString();
    }

    public Integer getPrivilege() {
        return privilege;
    }

    public void setPrivilege(Integer privilege) {
        this.privilege = privilege;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getVideoSize() {
        return videoSize;
    }

    public void setVideoSize(String videoSize) {
        this.videoSize = videoSize;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public Long getFolderId() {
        return folderId;
    }

    public void setFolderId(Long folderId) {
        this.folderId = folderId;
    }

    public Integer getInterfaceDataId() {
        return interfaceDataId;
    }

    public void setInterfaceDataId(Integer interfaceDataId) {
        this.interfaceDataId = interfaceDataId;
    }
}
